package com.example.service.product.impl;

import com.example.dao.product.ProductLogDao;
import com.example.pojo.ProductLog;
import com.example.service.product.ProductLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: demo
 * @description: 商品日志
 * @author: yc
 * @create: 2022-12-16 14:10
 **/
@Service
public class ProductLogServiceImpl implements ProductLogService {
    @Autowired
    private ProductLogDao productLogDao;

    @Override
    public List<ProductLog> getProductLog() {
        return productLogDao.getProductLog();
    }

    @Override
    public int addProductLog(ProductLog productLog) {
        return productLogDao.addProductLog(productLog);
    }

    @Override
    public void delProductLog(Integer id) {
        productLogDao.delProductLog(id);
    }


}
    